package settings;

/**
 * The Class Settings.
 * 
 * @author Nils Berlijn
 * @author Henderikus Harms
 * @version 1.0
 * @since June 1, 2014
 */
public final class Settings 
{
	/** The Constant WEATHER_STATION_LISTENER_PORT. */
	public static final int WEATHER_STATION_LISTENER_PORT = 7789;
	
	/** The Constant WEATHER_STATION_THREAD_POOL_SIZE. */
	public static final int WEATHER_STATION_THREAD_POOL_SIZE = 800;	
	
	/** The Constant WEATHER_STATION_QUEUE_LIMIT. */
	public static final int WEATHER_STATION_QUEUE_LIMIT = 800;
	
	/** The Constant WEATHER_STATION_QUEUE_THREAD_SLEEP_TIME. */
	public static final int WEATHER_STATION_QUEUE_THREAD_SLEEP_TIME = 10;	
	
	/** The Constant CLIENT_LISTENER_PORT. */
	public static final int CLIENT_LISTENER_PORT = 6052;
	
	/** The Constant CLIENT_THREAD_POOL_SIZE. */
	public static final int CLIENT_THREAD_POOL_SIZE = Runtime.getRuntime().availableProcessors() + 1;
	
	/** The Constant CLIENT_QUEUE_LIMIT. */
	public static final int CLIENT_QUEUE_LIMIT = 400;
	
	/** The Constant CLIENT_QUEUE_THREAD_SLEEP_TIME. */
	public static final int CLIENT_QUEUE_THREAD_SLEEP_TIME = 10;
	
	/** The Constant MYSQL_DRIVER. */
	public static final String MYSQL_DRIVER= "com.mysql.jdbc.Driver";
	
	/** The Constant MYSQL_URL. */
	public static final String MYSQL_URL = "jdbc:mysql://localhost:3306/";
	
	/** The Constant MYSQL_DATABASE. */
	public static final String MYSQL_DATABASE = "unwdmi";
	
	/** The Constant MYSQL_USER. */
	public static final String MYSQL_USER = "root";
	
	/** The Constant MYSQL_PASSWORD. */
	public static final String MYSQL_PASSWORD = "";		
	
	/** The Constant MONGODB_ADDRESS. */
	public static final String MONGODB_ADDRESS = "localhost";
	
	/** The Constant MONGODB_ADDRESS_PORT1. */
	public static final int MONGODB_ADDRESS_PORT1 = 27017;
	
	/** The Constant MONGODB_ADDRESS_PORT2. */
	public static final int MONGODB_ADDRESS_PORT2 = 27018;
	
	/** The Constant MONGODB_ADDRESS_PORT3. */
	public static final int MONGODB_ADDRESS_PORT3 = 27019;	
	
	/** The Constant MONGODB_DATABASE. */
	public static final String MONGODB_DATABASE = "unwdmi";
	
	/** The Constant MONGODB_COLLECTION. */
	public static final String MONGODB_COLLECTION = "measurement";	
}